<template>
  <div>
    <h2>姓名:{{ name }}</h2>
    <h2>年龄:{{ age }}</h2>
    <h2>{{ car }}</h2>
    <ul>
      <li>{{ car.banrd }}</li>
      <li>{{ car.price }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'Props1',
  props: ['name', 'age', 'car']
}
</script>

<style scoped></style>